Dynamicweb 8 Documentation
HasSubscribers(IEnumerable<String>) Method

Notification names.
Determines whether there are any notification subscribers that are configured to receive any of the given notifications.
Syntax
'Declaration
 
Public Overloads Shared Function HasSubscribers( _ 
   ByVal notifications As IEnumerable(Of String) _ 
) As Boolean
public static bool HasSubscribers( 
   IEnumerable<string> notifications 
)

Parameters

notifications
Notification names.

Return Value

Value indicating whether there are any notification subscribers that are configured to receive any of the given notifications.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionnotifications is null.
System.ArgumentExceptionnotifications does not contain any valid elements.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

NotificationManager Class
NotificationManager Members
Overload List

Send Feedback